package com.ctshk.rpc.airexpress.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.parameters.RequestBody;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel(value = "AirportExpressUpdateBatchReq对象", description = "机场快线Req")
public class AirportExpressUpdateBatchReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotEmpty(message = "机场快线ID列表不能为空")
    @ApiModelProperty("机场快线ID列表")
    private List<Long> airportExpressIdList;

    @Range(min = 0, max = 1, message = "售卖状态不正确(1:在售,0:停售)")
    @ApiModelProperty("售卖状态")
    private int saleStatus;

    @NotNull(message = "负责人ID不能为空")
    @ApiModelProperty("负责人ID")
    private Long chargePersonId;
}
